//
//  SLFreeRecommandViewController.m
//  SoccerLottery
//
//  Created by chuanshuangzhang on 15/12/25.
//  Copyright © 2015年 chuanshuangzhang. All rights reserved.
//

#import "SLFreeRecommandViewController.h"

@implementation SLFreeRecommandViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    [self setTitle:@"免费推介" back:YES];
    self.midView.frame = CGRectMake(0, self.topView.bottom, App_Frame_Width, 70);
    [self.midView addConstraint:[NSLayoutConstraint constraintWithItem:self.timeLabel attribute:NSLayoutAttributeCenterY relatedBy:NSLayoutRelationEqual toItem:self.midView attribute:NSLayoutAttributeBottom multiplier:2.0/3.0 constant:0]];
    [self.midView addConstraint:[NSLayoutConstraint constraintWithItem:self.titleLabel attribute:NSLayoutAttributeCenterY relatedBy:NSLayoutRelationEqual toItem:self.midView attribute:NSLayoutAttributeBottom multiplier:1.0/3.0 constant:0]];
    self.webView.frame = CGRectMake(0, self.midView.bottom, App_Frame_Width,self.view.height-self.midView.bottom);
}

@end
